package com.xiaoxx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author :HX
 * @date : 2023/7/11
 */
@ConfigurationProperties(prefix = "aliyun.oss")
@Component
@Data
public class AliOssConfig {
    /**
     * 节点
     */
    private String endpoint;

    /**
     * 桶名称
     */
    private String bucketName;

    /**
     * accessKeyId
     */
    private String accessKeyId;

    /**
     * accessKeySecret
     */
    private String accessKeySecret;

    /**
     * Bucket 域名
     */
    private String bucket;
}
